package com.mall.dao.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.mall.dao.UserDao;
import com.mall.domain.beans.UserBean;
import com.mall.domain.mapper.UserMapper;

@Repository
public class UserDaoImpl implements UserDao<UserBean> {

	@Resource
	private UserMapper um;

	@Override
	public UserBean Login(String username, String password) {
		return um.login(username, password);
	}

}
